package iotwisp.base.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class NumberIdGenerator {

	public static String getId(Integer randomLength) {
		SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmssSSS");
		return format.format(new Date()) + RandomUtil.getNumber(0, 9999, 4);
	}
}
